import request from '@/utils/request'

// 查询公司成本明细列表
export function listAnxinCompanyCostsDetail(query) {
  return request({
    url: '/costs/anxinCompanyCostsDetail/list',
    method: 'get',
    params: query
  })
}

// 查询公司成本明细详细
export function getAnxinCompanyCostsDetail(id) {
  return request({
    url: '/costs/anxinCompanyCostsDetail/' + id,
    method: 'get'
  })
}

// 保存公司成本明细
export function saveAnxinCompanyCostsDetail(data) {
  return request({
    url: '/costs/anxinCompanyCostsDetail/save',
    method: 'post',
    data: data
  })
}

// 删除公司成本明细
export function delAnxinCompanyCostsDetail(id) {
  return request({
    url: '/costs/anxinCompanyCostsDetail/' + id,
    method: 'delete'
  })
}

// 导出公司成本明细
export function exportAnxinCompanyCostsDetail(query) {
  return request({
    url: '/costs/anxinCompanyCostsDetail/export',
    method: 'get',
    params: query
  })
}
